package com.sugar.subscribe.course.module.business.controller.app.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Schema(description = "APP - 订单ID Request VO")
@Data
public class AppOrderAttendClassReqVO {

    @Schema(description = "订单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1775")
    @NotNull(message = "订单编号不能为空")
    private Long id;

    @Schema(description = "上课图片", requiredMode = Schema.RequiredMode.REQUIRED, example = "1775")
    @NotNull(message = "上课图片不能为空")
    @Size(min = 1, message = "上课图片不能为空")
    private List<String> attendClassImages;
}